const state = {
  deviceType: 'desktop'
};
const mutations = {
  SET_USER_INFO(state, deviceType) {
    state.deviceType = deviceType;
  }
};
const actions = {
  setDeviceType({commit}, deviceType) {
    commit('SET_USER_INFO', deviceType);
  }
};
export default {
  namespaced: true,
  state,
  actions,
  mutations
}
